<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>新增设备</title>
    <link rel="stylesheet" href="../assets/css/layui.css">    
    <link rel="stylesheet" href="../assets/css/view.css"/>
    <link rel="stylesheet" href="../assets/css/admin.css"/>  
    <link rel="stylesheet" href="../assets/css/style.css"/> 
</head>
<body class="layui-view-body">
    <div class="layui-content">
    	<!--面包屑导航-->
    	<div class="mianb">
    		<div class="mblf layui-col-xs6 layui-col-md6">
    			 <i class="layui-icon">&#xe656;</i>
    			 <p>设备管理 > 设备新增 > <span>填写设备信息</span></p>
    		</div>    		
    	</div>
    	
		<!--指示条-->
        <div class="layui-row">        	
            <div class="layui-card positionbox">            	  
				    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
					    <legend>基本信息</legend>
					</fieldset>
					<form class="layui-form" action="">
						 <div class="layui-form-item">
							    <label class="layui-form-label"><span class="col-red">*</span>设备名称</label>
							    <div class="layui-input-block">
							      <input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入设备名称" class="layui-input">
							    </div>
						  </div>
						  
						  <div class="layui-form-item">
							    <label class="layui-form-label">设备类型</label>
							    <div class="layui-input-block">
							      <select name="interest" lay-filter="aihao">
							        <option value="0">教学设备</option>
							       <option value="1">辅助设备</option>
							       <option value="2">办公设备</option>
							      </select>
							    </div>						    
						  </div>
						  <div class="layui-form-item">
							    <label class="layui-form-label">责任人</label>
							    <div class="layui-input-inline">
							      <input type="text" name="people" lay-verify="title" autocomplete="off" placeholder="请输入责任人" class="layui-input">
							    </div>    					   
							</div>
						  <div class="layui-form-item layui-form-text">
							    <label class="layui-form-label">设备描述</label>
							    <div class="layui-input-block">
							    	 <textarea id="demo" style="display: none;"></textarea>
							    </div>							    
							</div>
					</form>
					
					
					<div class="layui-form-item">
					    <div class="layui-input-block">
					    	<a href="javascript:;" class="layui-btn layui-btn-primary">清空重置</a>
					        <a href="" class="layui-btn layui-btn-normal" >保存设备</a>
					    </div>
					  </div>
            </div>   
		</div>
    </div>
    <script src="../assets/jquery.min.js"></script>
    <script src="../assets/layui.all.js"></script>   
    <script>
	layui.use('layedit', function(){
	  var layedit = layui.layedit;
	  layedit.build('demo'); //建立编辑器
	});
	layui.use('layedit', function(){
	  var layedit = layui.layedit;
	  layedit.build('demo2'); //建立编辑器
	});	
	</script>>
</body>
</html>